add focus directive