removed window leak for end of game dialog