DialogSubmitHandler type
Handler used for receiving results when a dialog closes, either the value passed by submit(string | object, string | string[])
or an error if the dialog was closed by the user.
See ISdkResponse
type DialogSubmitHandler = (result: ISdkResponse) => void