chromium/third_party/blink/web_tests/inspector-protocol/dom/resources/dom-get-top-layer-elements.html

<!DOCTYPE html>
<html>
  <body>
    <button id="dialogButton1" onclick="window.dialog1.showModal();">Open Dialog</button>
    <dialog id="dialog1">
        <button id="dialogButton2" onclick="window.dialog2.showModal();">Open Dialog</button>
    </dialog>
    <dialog id="dialog2"></dialog>
    <iframe src="iframe-with-dialog.html"></iframe>
  </body>
</html>