Behavior cookbook
State controls visibility while event flags handle Escape and backdrop clicks.
vsn-show hides the backdrop semantically without removing it from the DOM.
The close function restores focus to the launch button.
A stateful overlay