How to stop characters from continuing the animation once they have spoken their dialogues?