title: Close Primeng's ModalBox when clicked
body: <p>I am reviewing the Primeng documentation for the Modals, but I can not find a way to programmatically close a Modal Box (Example, when I click the "accept" button).</p>
  
  <p>source: <a href="https://www.primefaces.org/primeng/#/dialog" rel="nofollow noreferrer">https://www.primefaces.org/primeng/#/dialog</a></p>