Widget index / Windows and dialogs · Download this HTML
Ready — try the example.
States and behavior
Open without blocking the document, repeated search, wraparound, match-case and not found.
Keyboard
Tab can leave the dialog for the document. Enter runs Find next; Escape closes when focus is in the dialog; Close restores its trigger.
Scope and adaptation
HTML dialog.show() is modeless. This example stays in document flow rather than pretending to manage native desktop window stacking.
Sources
Microsoft preliminary guide (1995), chapters 7–8
Original implementation; system colors are represented by CSS variables. The default 13 px system-font stack is a readable browser adaptation. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.