zurb/foundation — pull request #2944 by mhchen (2013-08-04 04:54:31+00:00)
Title: 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.