Remove window DOM element when closing window
Generated build