src/widget/Box.php
public function run()
    {
        echo "\n" . $this->renderBodyEnd();
        if($this->loading){
            echo Html::tag('div','',['class'=>'overlay']);
            echo Html::tag('div','',['class'=>'loading-img']);
        }
        echo "\n" . $this->renderFooter();
        echo "\n" . Html::endTag('div'); // modal-content
        echo "\n" . Html::endTag('div');
    }
public function run()
    {
        echo "\n" . $this->renderBodyEnd();
        if($this->loading){
            echo Html::tag('div','',['class'=>'overlay']);
            echo Html::tag('div','',['class'=>'loading-img']);
        }
        echo "\n" . $this->renderFooter();
        echo "\n" . Html::endTag('div'); // modal-content
        echo "\n" . Html::endTag('div');
    }
Renders the widget.