Optional
iconPath: stringText to display.
Text to display.
Player 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.
Builds a simple player form with buttons that let the player take action.
Example: showActionForm.ts
Example: showFavoriteMonth.ts
Example: minigames.js