If according to the plot you need to talk to the character, but dialogue with him/her is not available, you need to wait for the next visit of the character to the cafe and then the dialogue will appear.

Ideally, you need to close the game for a while and after your return, the character will come to the cafe and will be ready to continue the story.