Supporting focus and blur events