We have a customization that displays a warning popup with Yes/No buttons when an item is added to a Sales Order with a unit price of 0 or 999.99.
- If the user selects Yes, they can proceed with the line item at 0 or 999.99 and save it.
- If the user selects No, the system cancels the added line.
This functionality works correctly when users manually add or update items.
However, when we copy and paste a Sales Order that includes items with a 0 or 999.99 unit price, the system displays a browser-level alert (with only an “OK” button) instead of the expected Yes/No confirmation popup.

Could you please help us achieve the same Yes/No confirmation behavior when an order is copied or pasted?