Search box in context menu

Does anyone have an example, or did anyone do this before? I would like to have a search box in my context menu. As you can see in my screendump below I have a list of plenty of so called presets in my new module. I would like to implement a search so users can type in a substring and the list of presets will only show the set containing that substring.

Any guidance welcome.


If I would implement a search function, I would check out how it is doen in the module browser of the Rack. Search for broser in the file below: