> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/dialog/modaldialog.md).

# modalDialog

## Description

Displays a dialog box (modal) with a snippet selected by the user.

## Input / Parameter

| No | Name    | Description           | Data Type | Required |
| -- | ------- | --------------------- | --------- | -------- |
| 1  | snippet | Title of the snippet. | String    | Yes      |
| 2  | show    | to show the snippet.  | String    | Yes      |

| Name     | Description                                      | Input Type  | Default | Options     | Required |
| -------- | ------------------------------------------------ | ----------- | ------- | ----------- | -------- |
| snippet  | The title of the snippet.                        | String/Text | -       | -           | Yes      |
| show     | The show or not to show the snippet.             | Boolean     | false   | true, false | Yes      |
| closable | To be able to close or not to close the snippet. | Boolean     | true    | true, false | No       |

## Output

| Description                             | Output Type |
| --------------------------------------- | ----------- |
| Returns a boolean value in the console. | Boolean     |

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
