title: RichFaces: Work with two modalPanel
body: <p>I've got a problem with the <code>rich:modalPanel</code>.
  I have a<code>modalPanel</code> shown by a <code>rich:menuItem</code>.</p>
  
  <pre><code>&lt;rich:menuItem value="#{lang.msg_edit}" submitMode="none" id="editLink"&gt;
  &lt;rich:componentControl for="modalEditPanelId"
      attachTo="editLink" operation="show" event="onclick" /&gt;
  &lt;/rich:menuItem&gt;
  </code></pre>
  
  <p>In this <code>modalPanel</code> there is a <code>rich:fileUpload</code> and during the execution of the <code>fileUploadListener</code> method, I want to hide thr current <code>modalPanel</code> and show a different panel asking about the confirmation of an operation to the user.</p>
  
  <p>Is it possible to do that?</p>