add generic id to prefWindow for security reasons