Add a JOptionPane confirm dialog to exit menu item.