@ElectricKeet A way to avoid that is just find the setting that whenever you open Firefox, it re-opens everything you had open when it closed last.
I used to do that 'restore session' dance with Chrome until I did that option instead.
The caveat is that it then is loaded every tab so startup takes some time.