Create a custom event when the overlay is removed from the DOM

Sometimes is useful to know when the overlay is removed from the DOM.