Moved closing event in Window (irrelevant in Widget)