How to wait for the dialogues to finish on the client side?

Hi there, when creating dialogues, what I usually do is fire a remote event, with the dialogue, and when the client picks it up, I make a dialogue effect using the MaxVisibleGraphemes feature, but when it comes to playing the next dialogue, how do we make sure the dialogue has finished on the client before playing the next one?

You could add a delay/wait and then Destroy()/hide the dialog instance.

invoke a RemoteFunction
maybe that helps