Protect reveal node restoration against other 'closed' events

Protect reveal node restoration against other 'closed' events, such as generated by foundation.dropdown.  This bug prevented Foundation Dropdown from being used within a Reveal dialog.