# Settings

The Modal Settings properties allow you to customise the interactions users can have with the Modal.

<figure><img src="https://lh6.googleusercontent.com/UIbuUiPrr2uzFqHJSWV4Aj_o09Uvn3qAto0bxdpgHpyXcsR1bxtm3khZMS7cRzUoO1H1Bl3f55gXTsxWSwt0nN47bO6A_WvNHfbhIHJvfSMgxfXAYukHNk4Ywu4akAi1QhmVqtcV94beLREmv6DF_5ZOpWuNTR7KxMxsUUj1MQxLVse6bEFXK4PUhngWEg" alt=""><figcaption></figcaption></figure>

## Close on Overlay

When activated, the Close on Overlay property allows the user to click on the modal overlay to close the modal.

<details>

<summary>Toggle</summary>

1. Click on the ➕ ​​icon to open the [Inserter Panel](https://docs.cwicly.com/gutenberg/inserter-panel/)
2. Search for the Cwicly Modal block
3. Click on the Cwicly Modal block to insert it into your page
4. Open Modal Settings Tab
5. Find the Close on Overlay property
6. Toggle the Close on Overlay property

</details>

## Disable Page Scroll

When activated, the Disable Page Scroll property allows the you to disable scrolling on the page when the modal is open.

<details>

<summary>Toggle</summary>

1. Click on the ➕ ​​icon to open the [Inserter Panel](https://docs.cwicly.com/gutenberg/inserter-panel/)
2. Search for the Cwicly Modal block
3. Click on the Cwicly Modal block to insert it into your page
4. Open Modal Settings Tab
5. Find the Disable Page Scroll
6. Toggle the Disable Page Scroll property

</details>


---

# 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.cwicly.com/blocks/modal/settings.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.
