added "are you sure you want to exit"-dialog