Insert the filter function into the Select-icon popup. Simply with JS, no Ajax request or something else.