edit previous tag on backspace in empty text field