1. A system for executing a dialog using one or more Extensible Markup Language (XML) components and one or more embedded scripts, the system comprising: an XML engine operable to parse an XML component describing a dialog, the XML component comprising one or more elements describing one or more visual aspects of one or more user interfaces (UIs) of the dialog and one or more scripts describing one or more functional aspects of the dialog; a graphical user interface (GUI) framework operable to access one or more elements parsed from the XML component by the XML engine and generate the UIs of the dialog from the elements parsed from the XML component; a script engine operable to read and write to the scripts in the XML component, the script engine comprising: an interpreter operable to execute the scripts in the XML component in response to particular events to provide the functional aspects of the dialog; and a runtime library comprising particular functions callable from the scripts in the XML component that provide particular functional aspects of the dialog when called.