Sets the chat text entry to be in focus once the window is visible.