Fix "close" event for Reveal
Currently the "close" event is not being fired when the user clicks the modal backdrop with closeOnBackgroundClick true, since the close event is being triggered on the closest .reveal-modal parent of the target. This naturally doesn't exist when the target is the backdrop.
Loading
Please sign in to comment