Called when a dialog is closed. userInput must contain the button pressed, the input the user entered, etc., see UserInput.
userInput
typedef void BaseDialogCloseCallback(UserInput userInput);