Fixed #66

Fixed bug which caused all areas to be deleted in editor when pressing
canc instead of the selected one only