1. A dialog system comprising: a plurality of dialog modules in a processor of the dialog system that receive and process utterances from a speaker and generate synthetic speech or text outputs as responses to the utterances, wherein the plurality of dialog modules include a first dialog module coupled to provide an output to a second dialog module; a task flow generation module functionally coupled to the plurality of dialog modules and that receives a task flow defining a set of tasks for human agent control over real-time collection of dialog data for the speaker, a starting task, and relationships among the tasks, and that generates a script that comprises a formal description of the task flow, the script of the task flow automatically generating a graphical user interface that includes templates for control of the dialog modules and real-time collection of dialog data for the speaker, the script generating a plurality of tags defining parameters of the tasks and one or more elements of the automatically generated graphical user interface; a controller circuit embodied within the processor, the controller circuit functionally coupled to the first dialog module, wherein the controller circuit detects an abnormal output of the first dialog module when the first dialog module is processing the utterances in an automatic mode and outputs a signal indicating the abnormal output; and an operator interface coupled to the plurality of dialog modules and the controller circuit, wherein the operator interface receives the signal and executes the task flow to automatically generate the graphical user interface, wherein the graphical user interface comprises a plurality of display panels including a first panel configured to allow the human agent to control the synthetic speech or text outputs, and a second panel configured to display at least a portion of the task flow, and wherein the templates for control of the dialog modules include a mode control for the human agent to control the first dialog module through the controller by correcting the abnormal output and transferring a corrected output to the second dialog module, wherein the corrected output is used in further processing the utterances.