The panel read as floating in the page rather than sitting over it, and
the close button was a 26px target - too small to hit reliably on a
phone.
The backdrop is a large spread shadow rather than a pseudo element,
which would paint behind the panel's own background.
Also: Escape closes the panel, clicking away closes it, and the button
is a real button so it works with a keyboard.