Fix usage of preference dialog for non privileged users.