Read only table on custom pop-up in template field

I want go give user the ability to search. The pop-up will have 2 components

1. Field Editor: Section where user will put the different search criteria
2. Table where the result will be displayed based on the criteria entered. The table will have a row action and clicking on which will populate the selected row record id in the template field