1. A computer-implemented method, comprising: generating, by a client device, a user interface display within an application context of an application; receiving, by the client device, a metadata representation that defines a layout of controls on a dialog, wherein the metadata representation comprises logic metadata identifying logic executable on the dialog; providing, from the application to the dialog, an input parameter through a dialog application programming interface (API) associated with the dialog, the input parameter orresponding to the application context; generating, by the client device, the dialog based on the metadata representation, wherein the dialog comprises the controls in accordance with the defined layout and includes dialog content and data bound to the dialog based on the input parameter provided through the dialog API; rendering, by the client device, the dialog within the application context such that the dialog overlays at least a portion of the user interface display; receiving, by the client device, a user input through the dialog rendered within the application context; generating an output parameter by executing the logic based on the user input; and providing, from the dialog to the application, the output parameter through the dialog API.
1. A computer-implemented method, comprising: generating, by a client device, a user interface display within an application context of an application; receiving, by the client device, a metadata representation that defines a layout of controls on a dialog, wherein the metadata representation comprises logic metadata identifying logic executable on the dialog; providing, from the application to the dialog, an input parameter through a dialog application programming interface (API) associated with the dialog, the input parameter orresponding to the application context; generating, by the client device, the dialog based on the metadata representation, wherein the dialog comprises the controls in accordance with the defined layout and includes dialog content and data bound to the dialog based on the input parameter provided through the dialog API; rendering, by the client device, the dialog within the application context such that the dialog overlays at least a portion of the user interface display; receiving, by the client device, a user input through the dialog rendered within the application context; generating an output parameter by executing the logic based on the user input; and providing, from the dialog to the application, the output parameter through the dialog API. 19. The computer-implemented method of claim 1 , wherein rendering the dialog further comprises: rendering the dialog within the application context such that the dialog overlays a parent page displayed on the user interface display while maintaining the application context.