OptionaldefaultValueIndex: 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.
OptionaldefaultValue: numberOptionaldefaultValue: string | RawMessageOptionaldefaultValue: boolean
Used to create a fully customizable pop-up form for a player.
Example: modalFormSimple.ts