PrimeNG p-dialog modal in Angular application blocks background and the dialog window itself
Have you tried adding
[appendTo]=“‘body’”
The pDialog can be a bit of a nightmare. I would get this problem when the dialog tag was inside a container.