public function button($text='OK', $color='#3085d6', $style=true, $class=null)
    {
        $this->params['confirmButtonText'] = $text;
        $this->params['confirmButtonColor'] = $color;
        $this->params['buttonsStyling'] = (bool)$style;
        if (!is_null($class)) {
            $this->params['confirmButtonClass'] = $class;
        }

        return $this;
    }