Static analysis improvement for ExportXMLDialog