         self.groupDataManager = groupDataManager
     }
     
-    private override init(rootViewController: UIViewController) {
+    public override init(rootViewController: UIViewController) {
         super.init(rootViewController: rootViewController)
         
         self.preferredContentSize = CGSize(width: 680, height: 600)

        rootViewController.navigationItem.hidesBackButton = true
    }
    
    private override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
    }
    

    
    @objc open override func dismiss(animated flag: Bool, completion: (() -> Void)? = nil) {
        if self.inline {
            UIApplication.shared.keyWindow!.rootViewController!.dismiss(animated: true, completion: completion)
        } else {
            super.dismiss(animated: true, completion: completion)
        }
    }
    
