Optional
defaultValueIndex: numberPlayer to show this dialog to.
Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
This function can't be called in read-only mode.
Optional
defaultValue: numberOptional
defaultValue: string | RawMessageOptional
defaultValue: boolean
Used to create a fully customizable pop-up form for a player.
Example: modalFormSimple.ts
Example: effectGenerator.js