Added a dialog to ask to exit (press enter)