Playground

Modal dialog in the top layer

Mode: Element (hover and click the amber box in the dialog), and the panel's buttons

Expected: The highlight shows on top of the dialog, the panel can be used while the dialog is open, and the box is captured exactly.

0px500px1000pxEnd · 1500px

A modal <dialog>, drawn above everything else on the page.

Box inside the dialog