How can I integrate dynamic search function into a quick links menu?

I removed the search icon and opted for the search link via the quick links menu below the header. Is it possible to bring the dynamic search function of the icon onto the link, instead of opening a new page for search as it is now?