add functionality to cancel appointment button