Factor the disabled window controller so it's only created when needed.