I need to create several matdialog and they work like a Windows system. I want that when you drag/click a matdialog this comes to the foreground.
Right now my code is similar to this one (https://stackblitz.com/edit/angular-78ofcc-qsfafc), when I open several matdialog the last one appears in the foreground and I can't put another previous matdialog in the foreground.
I hope the dragged/clicked matdialog appears in the foreground