add focus/blur events