One of the buttons using p-confirmDialog is causing an issue on my page. It appears that the confirmation is triggered by a button on a popup, causing the confirmation to appear behind it and be grayed out.
https://i.sstatic.net/MyUJO.gif
HTML
Interestingly, if I move my p-confirmDialog inside p-dialog, it works properly. However, this solution causes other buttons like Delete to not display the popup.
<div class="col-lg-12">
<div class="row">
<div class="page-content">
<p-confirmDialog header="Confirmation" icon="pi pi-exclamation-triangle"></p-confirmDialog>
<button type="text" (click)="confirmDelete()" pButton icon="pi pi-check" label="Delete"></button>
</div>
</div>
</div>
<p-dialog header="Request Info" [(visible)]="displayRequestInfo" [modal]="true" [responsive]="true" [width]="650" [minWidth]="300" [minY]="70" [baseZIndex]="10000">
<div class="col-lg-12">
<div class="row">
<div class="form-group">
<label class="control-label">Comment</label>
<textarea name="txtcomments" [(ngModel)]="comments" cols="40" rows="3" style="width:98%"></textarea>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="row">
<button type="text" (click)="confirm()" pButton icon="pi pi-check" label="Post"></button>
</div>
</div>
</p-dialog>