Added some kind of dialog support through the xml files, with expat parser