Added a dialogue reader which has a readXML method and returns a Document