public function addDynamic($name, $factory, $createDefault = 0, $forceDefault = false)
    {
        $control = new RContainer($factory, $createDefault, $forceDefault);
        $control->currentGroup = $this->currentGroup;
        return $this[$name] = $control;
    }