DialogService Troubleshooting

Hi,
I have a trouble with multiple use of DialogService.
In fact, i have different dialog service in different composant and the composant navigate between them.
The trouble is when i use a DialogService of a component, the method 'CloseConfirmDelete' of other DialogService is executed and it execute code that i don't want to execute.
Do you know this trouble ?
Regards,

Just add Dispose() method in the page where you used the dialog service
@implements IDisposable;
void IDisposable.Dispose()
{
DialogService.OnOpen -= OpenConfirmation;
DialogService.OnClose -= CloseConfirmation;
}

Hi,
OK, thanks.
Regards,