Delete old text on insert mode