ReferenceTypesMaybeCloseFunctionMaybeCloseFunctionDefines the interceptor invoked prior to a user closing a Dialog, to allow you to allow or reject the operation(data:any) => boolean