I have added three request parameters in the default.xml file like below for menu configuration
<field name="cid"
type="modal_cmediacontentitem"
label="XXXXX_JSEARCH_SELECT_CMEDIA_CONTENT_ITEM"
required="false"
default=""
description="XXXXXX_JSEARCH_SELECT_CMEDIA_CONTENT_ITEM"/>
<field name="contenttypeid"
type="modal_cmediacontenttypesitem"
label="Content Type"
required="true"
default=""
description="Select a Content Type"/>
<field name="mediatypeid"
type="Modal_Cmediamediatypesitem"
label="Media Type"
required="false"
default=""
description="Select a Media Type"/>
The modal popup shows the right data while creating the new menu item, but no matter which value I select, it always returns the values to the last parameter on the menu configuration page.
Here is the screenshot
awesomescreenshot.com/03c1tg2f33