Emitted when the close button or shortcut is used, or [method@Dialog.
close] is called while [property@Dialog:can-close] is set to `FALSE`.