setFocus on generated tab