title: destroy data in primefaces dialog after close from master page
body: <p>in my page have some commandButton that open dialog with table . 
  table have 300 row and after close HTML dialog not destroy and persist in HTML page . 
  i want destroy data in dialog after hide. and after click on commandButton repeat action load dialog and load data in dialog . 
  I found this method </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;p:ajax event="close" update="growl" listener="#{dialogBean.handleClose}"/&gt;
  </code></pre>
  
  <p>but not know how can destroy dialog from facescontext. </p>