Form is over the modal instead of inside it

Tried to submit this before but didn't work.

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