Prevent extraneous cancelEdit events when pressing enter