Sometimes, a long-running command is running in the terminal, and it’s possible to accidentally close the tab and interrupt the process. To prevent this, I suggest adding a feature similar to "Always prompt on quit," but for confirming the closure of a tab.