Asks if you want to save unsaved changes before exiting the app or closing a tab.