shows the privacy dialog after the share dialog is hidden. adds the possibility to execute a callback method when you hide a dialog