Set focus on text field after the window show up.