simple dialog system that advances with input and clears previous words as needed.