Fix "closed" target name.
Honor state fsm in bug editor UI.