It's funny that you mention that because I am working on something very similar at the moment! Now that I've started implementing functions for camera movement, I realized I would need it to wait in certain circumstances - for example, waiting for the camera movement to complete before the next function gets triggered.
I can do something similar for the scenario you have mentioned, also. I think the default behavior should be to wait for the dialogue to end before proceeding in the script (so the map would not load until the dialogue has completed), so I will incorporate that. I think I'll need to do the same thing for "Display Message", as well. Thanks for bringing that to my attention!