Feature: #73720 - Trigger event after modal window dismissed

See forge#73720


A new event modal-destroyed has been added that will be triggered after a modal window closed.


Bind to the event modal-destroyed to achieve custom actions after the modal has been dismissed.

Example code:

var $modal = Modal.confirm(); // stub code
$modal.on('modal-destroyed', function() {
        // Reset the selection