You see the margin before you commit
The order ticket shows the buy and sell price, the margin the position will use, the leverage limit for that instrument and account type, and any stop loss or take profit you've set. Nothing leaves your screen until you press the button.