adds focus attribute, still needs directive