It is so easy to accidentally close query tabs, whether you are simply trying to switch to a different tab and accidentally click on that tiny "x," or accidentally double-click on the tab itself.
Please add a confirmation dialog that asks the user if they are sure they want to close the tab.
Thank you