context menu, search logic