I am using Firefox v6.0.2 on Windows 7. Occasionally I have more than one window open and accidentally close a window losing all my tabs.
When I only have one window, this is not an issue since it recovers my tabs in the next session, but if there is more than one, I lose them since Firefox is not exiting.
Is there a way to only warn about closing the window when tabs would be lost?