~Rewrite Dialog system to use `yield` and `resume` , instead of `if next_step():`~
Rewrite Dialog system to useyieldandresume, instead ofif next_step():