After you click Close position, all unfilled or partially filled orders will be cancelled. An exit order will then be placed with quantity equal to the sum of filled quantities on your entry orders.