Does CloseDialogOnOverlayClick come with any support to do some validation before close

If I choose the option CloseDialogOnOverlayClick, are there then some event I can handle before close to be able to stop the close from happening like some validation. Or do I need to handle the close in my own code then?

The OnClose event of the DialogService should be invoked.

1 Like