> For the complete documentation index, see [llms.txt](https://docs.wproofreader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wproofreader.com/v6.10.0.0/integrations/initialization/configuration-options/ui-elements/dialog.md).

# Dialog

#### Turn off the proofreading dialog

Disable the dialog-based proofreading mode by setting `disableDialog` to `true`. Proofreading will run only inline, and the "proofread in dialog" option will be unavailable. By default, the dialog is available.

```javascript
disableDialog: true
```

***

#### Embed the dialog in a sidebar

Place the dialog inside a reserved section of the interface with `proofreadDialogContainer`. By default, the dialog opens as a floating window.

```javascript
proofreadDialogContainer: '#sidebar-dialog'
```

{% hint style="info" %}

* This mode is useful when a sidebar or reserved area should display all suggestions in one place.
* Requires `globalBadge: true`.
* If the sidebar width differs from the default 340px, adjust `badgeOffsetX` and `badgeOffsetY` to position the badge accordingly.
* See the [sidebar demo](https://demos.webspellchecker.com/wproofreader-sidebar.html).
  {% endhint %}

<figure><img src="https://1719522473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOleyLQ1cIsfkEcHoYl2F%2Fuploads%2FUTV5hxVpjykguQU37hIh%2FSidebar.png?alt=media&amp;token=2c08f0c8-b2c2-4fd0-a642-169064fc0b20" alt=""><figcaption></figcaption></figure>

#### Show one dialog for all fields

Aggregate suggestions from all editable fields with `globalProofreadDialog` into a single **Proofread in dialog** window. This is enabled by default; set to `false` to open a separate dialog per field.

```javascript
globalProofreadDialog: true
```

<figure><img src="https://1719522473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOleyLQ1cIsfkEcHoYl2F%2Fuploads%2FMpY4VfVlIbDKkwfdr2HQ%2FExtended%20dialog.png?alt=media&amp;token=fb538b01-8d79-4e7f-a5a7-b27bd5c00618" alt=""><figcaption></figcaption></figure>
