Added query when quitting via x