Add option to cancel message edit, fixes #282