set focus on input field when shown