This 'dialog not properly ending' issue sounds suspiciously like the problem I started having yesterday with my two Rat NPCs. Oddly, my Guard NPC's dialog ends fine. All three are global. It was sending me a little insane last night as I could not figure out if I was doing something wrong or if the Editor was simply doing something weird (and I'm still not certain).
On a related note, I'd love to figure out just how the game devs handle their dialog. As far as I can tell, any NPC in the Main Campaign that has a complex dialog (ie. not just a speak-a-single-line-and-leave chicken-type conversation) doesn't use the 'DefaultDialog' section in the Sidebar. Their KeywordEditor also has a drop-down list of NPCs in the 'Speaker' section, which I can't get to populate in my module.