bind to hidden event for modal cleanUp