# Alert Dialog

Are you absolutely sure?

This action cannot be undone. This will permanently delete your account and remove your data from our servers.

## Usage This component can use the `dialog()` macro for Jinja and Nunjucks. Alert Dialog uses the same `.dialog` class as [Dialog](/components/dialog), but the example omits the close button and does not close on backdrop click. ```html

Are you absolutely sure?

This action cannot be undone. This will permanently delete your account and remove your data from our servers.

``` ### HTML structure
<button type="button"> Optional
The trigger button to open the alert dialog (using the native showModal() method).
<dialog class="dialog" id="{ DIALOG_ID }">
Native modal dialog. Add aria-labelledby and aria-describedby when title and description are present.
<div>
Wraps the content of the alert dialog.
<header>
Contains the header for the alert dialog:
<h2>
The title of the alert dialog, must have an id if you use the aria-labelledby attribute on the <dialog>.
<p> Optional
The description of the alert dialog, must have an id if you use the aria-describedby attribute on the <dialog>.
<section> Optional
For the content.
<footer> Optional
Usually contains actions.