Add WindowClosedEvent