[#2831] prevent accidental navigation on delete/backspace