Is it possible to open the form inside a modal window?

The tutorial how to create a modal window

https://documentation.bonitasoft.com/bonita/7.6/uid-modal-tutorial

I inserted a modal window into my application. I need when the window is opened, after pressing the button, a form appears inside the window. How to do this?