Your issue is with those three buttons inside the modal:
Those are the three elements you need to select and change the styles and rearrange.
We don’t know how you have them set up, so you need to apply trial and error.
Additionally, and as @Yongki mentioned, delete the elements and build them again. That’s another thing you can try.
As a general recommendation, when you bump into issues in Adalo, your first approach should be trial and error. Try different settings, and different arrangements and see what happens.