set focus to text input on panel change