Disabling dialog of SSRS report while running report from code

Hi, my code is below, i wanted to ask why my dialog disabling is not working in this code and what do i do to disable the dialog ??? report runs fine, but the dialog pops up anyway

ProdJournalBOM reportRecord;
ProdPickListController controller = new ProdPickListController();
SRSPrintDestinationSettings settings;
Args args2 = new Args();

controller.parmReportName(ssrsReportStr(ProdPickList, Report));
controller.parmShowDialog(false);

select firstOnly * from reportRecord where reportRecord.ProdId == salesParmLine2.salesLine().InventRefId;

args2.record(reportRecord);

controller.parmArgs(args2);

controller.startOperation();

Figured out - for this report it had override in controller class itself to again - show the dialog

you have to set the Interactive property of Query and Report to No