added flags to control process flow.  next add button highlight in order of steps.