How can i add a Lookup form to a form control lookup?

In D365 FO

I have created a new form which has the Lookup pattern with some data sources and a grid that shows up some data from these datasources.

Now i want to show this form when i open lookup on a form control.

How can i achieve this?