protected function buildHeader()
    {
        $close = '<button type="button" class="close" data-dismiss="modal" '
            . 'aria-label="Close"><span aria-hidden="true">&times;</span></button>';


        $tag = $this->titleTag;
        $tid = $this->attr['id'] . '-label';
        $ttl = $this->title;

        $title = "<${tag} class=\"modal-title\" id=\"$tid\">{$ttl}</{$tag}>";

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