Signature:
class Dialog { type(): Protocol.Page.DialogType; }
Returns:
Protocol.Page.DialogType
The type of the dialog.