Reveal makes these very easy to summon and dismiss. The close button is simply an anchor with a unicode character icon and a class of
close-reveal-modal. Clicking anywhere outside the modal will also dismiss it.
Finally, if your modal summons another Reveal modal, the plugin will handle that for you gracefully.×