title: h:command button oncomplete action
body: <p>When downloading file from server if i use    <strong>a4j:commandLink</strong>  file download fail(mean file written to browser screen) if i use <strong>h:commandLink</strong> it is okay.I want to show a rich modal panel when file downloading but standard  components not have a <strong>on complete</strong> action  so <strong>i cant hide modal panel after file downloaded</strong> .How can i workaround this issue,I am using rich faces 3.3 </p>
  
  <pre><code>  &lt;h:commandLink value="Download"
     action="#{logSearcher.downloadFile}" 
    onclick="Richfaces.showModalPanel('ajaxLoadingModalBox',{width:450, top:200})"
                                     immediate="true" &gt;
                            &lt;f:setPropertyActionListener value="#{log}"
                              target="#logSearcher.selectedLogLine}"   
                                      /&gt;                          
    &lt;/h:commandLink&gt;
  </code></pre>