Clicking a popup's overlay closes it

Popups use <button> instead of divs