Implemented the TradePreviewDialog.