Warning: Currently all 'window close' events for the dialog are treated as user input, so be careful if closing within code (best to call SetOnWindowClosed(FOnWindowClosed()) prior to calling) Result callback delegate, for below function