Chirp UI ships native dialog and store-backed overlay modal contracts:
modal(...)andmodal_trigger(...)fromchirpui/modal.htmlconfirm_dialog(...)andconfirm_trigger(...)fromchirpui/confirm.htmlmodal_overlay(...)andmodal_overlay_trigger(...)fromchirpui/modal_overlay.html
Native dialogs render<dialog>and open through the
chirpuiDialogTarget()Alpine controller. Overlay modals render a div-based
dialog controlled throughAlpine.store("modals"), with
x-trap.inert.noscrollon the panel.
The full rendered contract, ARIA roles, focus and close behavior, HTMX confirm
form behavior, and proof locations live in the canonical source guide:
docs/MODAL-ANATOMY.md.