concept other dialog in category chatbot

This is an excerpt from Manning's book Building Chatbots with Microsoft Bot Framework and Node.js.
Microsoft bot framework maintains a stack of dialogs that are active in conversation at any given point of time. This is similar to the call stack which is maintained in computer programs. When one dialog invokes another the bot framework adds the new dialog on top of the previous dialog in the dialog stack. The dialog at the top of the stack has the control at any given point of time and once the dialog has completed executing it is removed from the stack and control is passed to the dialog below it in the stack. In some cases, dialogs may choose to invoke other dialogs in which case the invoked dialog gets added to the stack and is given control.