Rescently I had an issue with firefox new Beta. It didn’t warn me when I close multiple tabs.
If you guys are experiencing this type about:config in the address bar.
Click I Be Careful
search close tab there you will find something like this
set it true