Show confirmDialog when trying to close a Primefaces panel