Create ExitDialog.java

Creates a dialog for the user to confirm before quitting