# OpenDialog

OpenDialog function documentation

**OpenDialog**(src, props)<br></br>
Opens a separate dialog where you can load data from an external source or create your own UI.

**Parameters**

- `src`<br></br>
  **type** *`string`*<br></br>
  The URL where the dialog contents are located.<br></br>

- `props`
  - `disableOverlayClick`<br></br>
    **type** *`boolean`*<br></br>
    State of the overlay click<br></br>
    If true, the dialog doesn't close when clicking outside of the dialog area
  - `maxWidth`<br></br>
    **type** *`string`*<br></br>
    The maximum width of the dialog
  - `ariaLabel`<br></br>
    **type** *`string`*<br></br>
    Accessibility. `ariaLabel` can be used in cases where text that could label the element is not visible

**Returns**

`Promise<DialogReturn | null>`

&nbsp;

&nbsp;
