Modified state machine to include open and review states.