Why are you getting the window a third time?