Save edit state including last edit object.