exiting from menu now causes the jdialog to pop