There is a button labeled "Open New Shipment" in the menu. It toggles on and off. When it is activated, it has a highlighted box around it. If you click on it again, the highlight disappears and the invoice will not pop up automatically after creating the shipment.