Add search select hiding and role override.

Contributed by @jimsafley.