# XWUIOverlayDialog

Modal dialog with configurable header, body, footer

## Basic Usage

Modal dialog.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Modal dialog.
```

## Sizes

Different size presets.

```example
file: examples/Sizes.ts
html: examples/Sizes.html
title: Sizes
description: Different size presets.
```

## Delete Confirmation

A destructive-action dialog with Cancel and Delete buttons in a custom footer.

```example
file: examples/DeleteConfirmation.ts
html: examples/DeleteConfirmation.html
title: Delete Confirmation
description: A danger confirmation with a custom Cancel / Delete footer, opened on load.
```

## Scrollable Terms

A long terms dialog that scrolls in-body and cannot be dismissed by backdrop or Escape.

```example
file: examples/TermsScrollable.ts
html: examples/TermsScrollable.html
title: Scrollable Terms
description: A scrollable terms-of-service dialog with backdrop and Escape dismissal disabled.
```

```api
```
