Fixed a bug where you couldn't cancel an edit