Ask for confirmation if customer leaves checkout page without clicking "Place Order"

can we tweak this to offer the customer a discount or coupon code when the customer tries to close the checkout window?