Let the looping happen naturally, and just increment a second time if the dialogID is 0.