added listeners for accesDenied and accessDialogOpened events on publisher object