{% comment %} Dialog component - modal dialog using native element Usage:

Dialog Title

Dialog description

Dialog content goes here

Open with: document.getElementById('my-dialog').showModal() Close with: dialog.close() or clicking the backdrop The dialog uses native HTML and requires: - id attribute for targeting - aria-labelledby pointing to title id - aria-describedby pointing to description id (optional) - onclick="if (event.target === this) this.close()" on dialog for backdrop close {% endcomment %}
{{ slot }}