Added a bunch of new features for the dialogues.