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