protected function buildFooter()
    {
        if (! $this->footer) {
            return;
        }

        $this->html .= $this->indent(3, '<div class="modal-footer">');
        $this->html .= $this->indent(4, $this->footer);
        $this->html .= $this->indent(3, '</div>');
    }