made the window a key window