Also resets/saves grids unsaved modifications (#240)