Readability of form input fields and confirmation

I have a form that the user inputs some data to send to a server but I'm wondering how does a user normally read a form for input purposes?

Should it be Input, Button, Confirmation then close:

enter image description here

Or Input, confirmation, Button then close:

enter image description here

The 2nd method seems to be the most conventional way in terms of form structure by having the buttons on the bottom right, but is it wrong to add the confirmation text before (instead of after) the next form item forcing the user to visually backtrack (instead of going top to bottom seamlessly)?

Or is it ok to add the button with the form fields to keep them in the same place, like in the first example?