Added possibility to set up dialog options with string resources.
Added some new examples.
Implemented parsing of some XML dialogs.