property DialogState: TJSDialogStates;
Use this property to determine if a preview of a dialog is being shown.
TJSCustomDialog Properties