Completed implementation of TradePreviewDialog.