ReferenceTypesCommitFunctionCommitFunctionDefines the function called when a user commits a dialog.(data:Record<string,any>) => any