I use a Dynamic Dialog from PrimeNG: https://primefaces.org/primeng/showcase/#/dynamicdialog
How can I force to close the dialog by clicking in the "nowhere"