focus to first visible field only if focusSelector is set.