Fixed event name when modal is shown or hidden