permissionDeniedDialog opening fix