child window destruction re-addded