execute onBlur on click outside of terminal