Dialog and popover: layered UI patterns

<dialog> and popover: Baseline layered Ul patterns.

David Herron explains how the <dialog> element and the popover attribute with Baseline support replace custom modals, handling focus, top layer stacking, backdrops, autofocus, and smooth @starting-style animations so you spend less time reinventing a bicycle.

web.dev/articles/baseline-in-action-dialog-popover