making checkin button close modal