set window to focus onclick