DialogHideEvent
typedef
An event fired after hide
is called. You can use it to customize the behavior
of any dialog.
// Logs after the "Find and Replace" dialog gets hidden
editor.plugins.get( 'Dialog' ).on( 'hide:findAndReplace', () => {
console.log( 'The "Find and Replace" dialog was hidden.' );
} );