1. It works only for Front end layouts because menus applies for the front.
2. Create a new menu item. Choose your component layout. Some extra parameters appears with a select button to open the modal pop up.
Prerequirements :
You must have defined filters in the concerned front-end layout
It is working only for FK filters for the moment. Enums, dates, range, searches... are not handled yet.
To add request params, you can change in :
FRONT/views/xxxxxx/tmpl/xxxx.xml
<fieldset name="request" addfieldpath="/administrator/components/com_demo120/models/fields">
<field name="filter_categorie"
type="modal_categorie"
label="DEMO120_JSEARCH_FILTER_CATEGORIE"
required="false"
default=""
description="DEMO120_JSEARCH_SELECT_CATEGORIE"/>
<field name="filter_created_by"
type="modal_thirduser"
label="DEMO120_JSEARCH_FILTER_CREATED_BY"
required="false"
default=""
description="DEMO120_JSEARCH_SELECT_USER"/>
//HERE YOU CAN ADD FIELDS THE SAME WAY THAN YOUR FORMS OR FILTERS
</fieldset>