Give text field focus when displaying captcha dialog