Click the button to show the overlay. Click the backdrop to dismiss. Alpine's x-show handles the mount; the backdrop element handles the visual.