# Modal

It is super easy to create your own Dashboard modals for your plugin. Just extend the Modal class exposed on the Dashboard object.

### What does Modal look like?

```jsx
import { Plugin }from '@root'

class MyModal extends Plugin.Modal {
    render() {
        return (
            <div>
                <p>{'Look at my Modal, my Modal is amazing'}</p>
            </div>
        )
    }
}
```

### How can i open a Modal?

{% content-ref url="/pages/-MS3d\_5RVCkeTKahcl2V" %}
[openModal](/dashboard-plugin/api-and-gui/api/openmodal.md)
{% endcontent-ref %}


---

# 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.navigaglobal.com/dashboard-plugin/components/modal.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.
