TIWCGJQDialogOptions.OnBeforeClose Property
This event is triggered when a dialog attempts to close. If the beforeClose event handler (callback function) returns false, the close will be prevented.
published property OnBeforeClose: TIWCGJSonFunc index 24 read GetFuncValue write SetFuncValue stored IsFuncStored;