This method is used if a query prompt is the dialog and if a select menu item is added to a dialog. Do not create the instance of the QueryRun class when this method is called. Create it in the unpack method and the initParmDefault method or use it in the init method if it is appropriate.