An element with `popover` can open through `showPopover()` or a `popovertarget` button. An auto popover enters the top layer and light-dismisses on outside click or Escape.
The demo opens and closes a menu automatically, and the button also works manually. For critical confirmations or complex conversations, choose dialog behavior that fits the task.
When to use
Use it for brief nonmodal surfaces such as help tips or action menus.