added return exceptionlist to addapointmentframe and made ok and cancel
buttons close window