#2191 Add a vetoable modal.closing event.