← All dialogs Non-modal dialog 6 of 10
‹ ›

Non-modal dialog

Open it, then keep typing in the field below. The page stays live — no backdrop, no inert content, no focus trap.

Good for inspectors, live help and anything a person needs alongside their work rather than instead of it. In v5 this required building a floating panel by hand, because a modal always blocked the page.

Two things are needed, not one. .dialog-nonmodal is a style class — it removes the backdrop and nothing more. Whether the browser calls show() or showModal() comes from the modal option, so you also need data-bs-modal="false". With only the class you get a dialog that looks non-modal and still blocks the page.

Formatting help

Use **bold**, _italic_ and `code`.

Two blank lines start a new paragraph.