From a view, I would like to be able to open a modal dialog with a form to find records in a table. The found records should be shown in a GridView just below the form, in the same modal dialog. Then, when I select one of the records, possibly through a radio button and a “Select” button, the dialog should close and the selected record ID should be returned to the underlying view.
I have been looking everywhere but I could not find an example of this use case. Any help would be greatly appreciated!