For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IModalDialog.md.

Interface: IModalDialog experimental

Beta

Properties

activeRequestId

readonly activeRequestId: string | undefined

Beta

Remarks

Identifier for the active request for this dialog


contentPane

readonly contentPane: IPropertyPane

Beta

Remarks

Custom pane layout for the dialog


controlPane

readonly controlPane: IModalControlPane

Beta

Remarks

Custom pane layout for the dialog


id

readonly id: string

Beta

Remarks

Unique identifier for the dialog


title

readonly title: LocalizedString | undefined

Beta

Remarks

Title of the dialog

Methods

sendDismiss()

sendDismiss(): void

Beta

Returns

void

Remarks

Dispatches a dismiss message to the active request if it is available


sendResponse()

sendResponse(response): void

Beta

Parameters

response

ModalDialogCustomResponse

Response message to be handled by the active request

Returns

void

Remarks

Dispatches a response message to the active request if it is available


setTitle()

setTitle(title): void

Beta

Parameters

title

LocalizedString | undefined

New title

Returns

void

Remarks

Updates the title of the modal dialog