added CreateAppointment dialog.