title: How to hide rich:modalPanel on Ajax response in JSF
body: <p>I am using jsf reach faces in one application. I am using rich:modalPanel for popup reading some details and submitting tha panel using a4j command button after response from server I want to hide the  modalPanel but don't know how to, </p>
  
  <p>I am still trying for the solution, Any help Please</p>
  
  <p>The code of rich modalPanel is something like this.</p>
  
  <pre><code>&lt;rich:modalPanel  id="panelID" minHeight="200" minWidth="450" height="200" width="500"&gt;
  &lt;a4j:commandButton reRender="sampleID" action="#{SomeTestAction}" image="sample-button.gif"/&gt; 
  &lt;/rich:modalPanel&gt;
  </code></pre>