cancel user edit fix

fixes #489