Modals

dialog

my-dialog

input[type="button"] or input[type="submit"] also work as a button.


popover

PopOver content

firefox, about:config, dom.element.popover.enabled

( api exists as well )

question: why does the `dialog::backdrop` prevent interaction with the background, while the `[popover]::backdrop` does not..?

clicking in the backdrop closes the popover.. cool, except that clicking on the buttons still triggers the buttons... huh /why??

:popover-open applies, even when it's closed. .. this is a strange or buggy api still...
seems that :popover-open applies even when it's closed /not open ??
think transition is not applying b/c the API is `display:none`ing
which cuts off the transition.

... any reason the popover-api cannot be used with the dialog element ?? TODO


XXX dialog as popover

popover controls

popover controls

dialog controls XXX dont work