Notice that after the item is entered, in the item line is an option to delete the sale line. If you use the Delete Line option, you will lose the sale line without any confirmation.