public function dropdownButton($title, array $menu = [], array $options = []) {
        // List of options to send to the dropdown() method
        $optsForHtml = ['align'];
        $ulOptions = [];
        foreach ($optsForHtml as $opt) {
            if (isset($options[$opt])) {
                $ulOptions[$opt] = $options[$opt];
                unset($options[$opt]);
            }
        }
        $options += [
            'type' => false,
            'dropup' => false,
            'data-toggle' => 'dropdown'
        ];
        $dropup = $options['dropup'];
        unset($options['dropup']);

        $bGroupOptions = [];
        if ($dropup) {
            $bGroupOptions = $this->addClass($bGroupOptions, 'dropup');
        }

        $options = $this->addClass($options, 'dropdown-toggle');
        return $this->buttonGroup([
            $this->button($title.' <span class="caret"></span>', $options),
            $this->Html->dropdown($menu, $ulOptions)
        ], $bGroupOptions);

    }