Form is over the modal instead of inside it

I have this structure

enter image description here

The problem I am having is that the form is not in the same place as the modal body

enter image description here

I am not sure how could I fit the form inside the modal body

I just attempted a the same thing and it worked out correctly.
It would seem that you must have some CSS that is changing the normal spacing of the Form’s child elements.