bugfix: don't lose focus on grid after editing the last row