wrapping up editing states.