Prevent canceling an edit from submitting anyways

Closes #123