When you click on a step, go to that concrete step, and if you choose another option, delete all items after that step.
When you click on a step, go to that concrete step, and if you choose another option, delete all items after that step.