Adds an onFocus event similiar to the onBlur event