Dynamic dialogs are controlled via the DialogService that needs to be installed as an application plugin.
$dialog is available as a property in the application instance for Options API. The service can be injected with the useDialog function for Composition API.