Correctly nitializes container type in DispatchCreateScanDialog