On GTK, the grid shoudl not be marked dirty unless the size of the grid actually changes. Doing so prevents focus loss on the edit field