# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/dialog/modaldialog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
