dialogClosedEvents

Triggered when a dialog is closed, either by user action, JS abort, or a command below.

Official doc