title: After closing p:dialog, event="dialogReturn" is not being called
body: <p>I'm using PrimeFaces 5.2. Scenario:</p>
  
  <ol>
  <li>Open a dialog to see the list</li>
  <li>On dialog, show actions column at the end</li>
  <li>Close the dialog</li>
  <li>Redirect to selected action page in the column.</li>
  </ol>
  
  <p>1, 2, 3 are working.</p>
  
  <p>I have tried many things, but redirecting after closing it not working. <code>dialogReturn</code> method is not being called where I am calling the redirect code.</p>
  
  <p>Here I am successfully loading a dialog in MyFile.xhtml.</p>
  
  <pre><code>&lt;p:commandLink action="#{userDashboardBacking.showPriorityMyView()}"
                    class="myClass"
                    value="#{userDashboardBacking.priorityFilesLabel1} (#{userDashboardBacking.priorityFilesCount1})"&gt;
                    &lt;p:ajax event="dialogReturn" update="@form" listener="#{userDashboardBacking.dialogReturn()}" /&gt;
      &lt;/p:commandLink&gt;
  </code></pre>
  
  <p>MyFileBacking.java </p>
  
  <pre><code>// this always get me to the required dialog/page
  public void showPriorityMyView(){
      Map&lt;String, Object&gt; options = new HashMap&lt;String, Object&gt;();
      options.put("modal", true);
      options.put("closable", true);
      options.put("draggable", true);
      options.put("resizable", true);
  
      options.put("contentHeight", "500");
      options.put("contentWidth", "1100");
  
      RequestContext.getCurrentInstance().openDialog("priorityMyView", options, null);
  }
  
  // this method is never called.
  public void dialogReturn(){
      FacesContext facesContext = FacesContext.getCurrentInstance();
      String  outcome = "/myDetails.jsf?faces-redirect=true"; 
      facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, null,outcome );
  }
  </code></pre>
  
  <p>MyDetailDlg.xhtml</p>
  
  <pre><code>&lt;p:column width="10"&gt;
      &lt;h:commandLink update="@form" action="#{myViewDlgBacking.selectedFileIdForDetails(row.fileId)}" title="View Details" immediate="true"
                          styleClass="ui-icon ui-icon-search" /&gt;
  &lt;/p:column&gt;
  </code></pre>
  
  <p>MyViewDlgBacking.java</p>
  
  <pre><code>// successfully closes the dialogue.
  public void selectedFileIdForDetails(Long itemId){
      RequestContext.getCurrentInstance().closeDialog(0);
  }
  </code></pre>
  
  <p>Why is <code>dialogReturn</code> not being called and how can I redirect to another page after closing the dialog?</p>