.dialog('open'); code example
Example: open dialog
let dialogRef = dialog.open(UserProfileComponent, {
height: '400px',
width: '600px',
});
let dialogRef = dialog.open(UserProfileComponent, {
height: '400px',
width: '600px',
});