Sub-Form

Hello togehter!

I have the following situation:

I have 2 entities, Company and Person, which have an OneToMany-Relation. I created a form for the company, where I can enter the data for the company.

But now in this form there should be a possibility to create new persons directly while the company form is still open, for example in an PopUpView or new Window. After the creation of the new person it should be possible to assign him to the already opened company entity.

How can I implement this? Or maybe there is a smarter solution for that.

Thank you for any help!

Regards