Dialogue system now working.  You can /summon Villager and then right click on it to access the dialogue gui.  You can also edit Villager's dialogue tree by pressing the K-hotkey and then right clicking on the Villager.