Implemented EditDialog.java