ConfirmDialog is controlled via the ConfirmationService that needs to be installed as an application plugin.
The service is available with the useConfirm function for Composition API or using the $confirm property of the application for Options API.