The QueryPicker does all that anyway. It applies a search filter. It operates across desktop, web and mobile apps, not specific to desktop apps.

It knows nothing about what section it is...