Modify GUI, add CustomDialog.java

Now the main window is unfocuseable when the new pop-up window is open.