Create a new dialog and render its contents. Depending on what kind of
platform the service is used on, the dialog might be rendered in the
current Document
or opened in a new popup window.
id representing the dialog
the name of the web component representing the dialog
Optional
properties: DialogPropertiesany properties to send to the dialog
Optional
listeners: DialogListenersany event listeners to register on the dialog
Update an existing dialog with new properties
the dialog identifier
Optional
properties: DialogPropertiesany properties to send to the dialog
Service for creating and displaying dialogs containing a web component
Emits
dialog.destroyed - When the dialog is beeing externally destroyed, e.g. by closing a popup window (depending on platform), a DialogDestroyedEvent will be emitted using EventDispatcher