Long list in modal screen

Hi,
I need help with the design / setup of a popup screen. basically I have a long list of items to show on the popup screen so the user can pick one of them.
I have put a group on top for the search field, and another group on bottom for the “done” button.

since its a long list of options I am unable to strict the list to stay withing the boundaries of the top / bottom groups.

See screenshot for what I mean,
Any idea / example of how this can be done?


@sattyani, check this component made by No Code Monkey!