Save your scripts using Notepad then delete them from your Script Editor so you can start anew. Then try to follow Burgee's tutorial. You could also test the dialog script on a different test module if you want to leave your mod alone.
One bogus script can cause your other scripts to stop working. Also make sure that all your global characters and triggers have unique names. My module broke because two of my triggers had the same name.