- fixed a bug where cancelling edit would show changed version of unit instead of before change state