events for closing modal
node function for adding reflection text
adding classes to check button and mask for exiting