---
id: fast-foundation.dialog.modal
title: Dialog.modal property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Dialog](./fast-foundation.dialog.md) &gt; [modal](./fast-foundation.dialog.modal.md)

## Dialog.modal property

Indicates the element is modal. When modal, user mouse interaction will be limited to the contents of the element by a modal overlay. Clicks on the overlay will cause the dialog to emit a "dismiss" event.

<b>Signature:</b>

```typescript
modal: boolean;
```

## Remarks

HTML Attribute: modal
