def add_dialog(self, dialog: Dialog) -> object:
self._dialogs.add(dialog)<EOL>if not self.initial_dialog_id:<EOL><INDENT>self.initial_dialog_id = dialog.id<EOL><DEDENT>return self<EOL>
Adds a dialog to the component dialog.
Adding a new dialog will inherit the BotTelemetryClient of the ComponentDialog.
:param dialog: The dialog to add.
:return: The updated ComponentDialog