save value on backspace
handle blur events