Generalize to ignore all 'hidden' events not thrown by the modal itself