disallowing full delete by pressing backspace