code: public function run()
      {
          if($this->Icon !== NULL){
              echo Html::tag('i', '',['class'=>'ion '.$this->Icon]);
          }
          echo "\n" . $this->renderBodyEnd();
          echo "\n" . $this->renderFooter();
          echo "\n" . Html::endTag('div'); // modal-content
          echo "\n" . Html::endTag('div');
      }
docs: Renders the widget.