editgrid: fixes keyboard/arrow navigation after an edit