app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle

To toggle an overlay, add a button with an event handler. Remove the overlay container to reveal the underlying content. Re-wrap the overlay container to add the overlay back.