html base : added global dialog functionality.