Is it a good idea (separate the action of the navigation buttons)?
It would be clear to end users the criteria?
If they are well executed, they will not notice but act as if.
Your improvement breaks a basic rule, however:
The navigation buttons go before what they affect.
Confirmation buttons go after what you confirm
However, in this particular case, I would say that it is not a problem to violate that, given the layout signals (for example, the line of separation) that you suggest.
It would still be ok if you had them in a row, left confirmation, "Select Company" on the right.
If it's not a pop-up / subform form, you may want to consider removing the explicit "Close" because it's usually the window frame.