Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
```
Confirmation dialogs are a special type that use the `role="alertdialog"` attribute and will always include a cancel button.
-The dialog itself will be limited to a width of 500px, the title can wrap into multiple lines and there will be no â\80\9eXâ\80\9c button to close the dialog.
+The dialog itself will be limited to a width of 500px, the title can wrap into multiple lines and there will be no â\80\9cXâ\80\9d button to close the dialog.
## When to Use
Destructive action:
> Are you sure you want to delete “Example Object”?
-> (German) Wollen Sie â\80\9eBeispiel-Objektâ\80\9d wirklich löschen?
+> (German) Wollen Sie â\80\9eBeispiel-Objektâ\80\9c wirklich löschen?
All other actions:
Typical examples for alerts are error messages or warnings.
An alert will only provide a single button to acknowledge the dialog and must not contain interactive content.
-The dialog itself will be limited to a width of 500px, the title can wrap into multiple lines and there will be no â\80\9eXâ\80\9c button to close the dialog.
+The dialog itself will be limited to a width of 500px, the title can wrap into multiple lines and there will be no â\80\9cXâ\80\9d button to close the dialog.
```ts
const dialog = dialogFactory()