public function closeForm($includeFilterButton = true, $includeResetButton = true)
    {
        $buttons = '';
        if ($includeFilterButton) {
            $buttons .= $this->filterButton();
        }
        if ($includeResetButton) {
            $buttons .= ' ' . $this->resetButton();
        }
        $ret = $this->templater()->format('buttons', [
            'buttons' => $buttons
        ]);
        $ret .= $this->Form->end();

        return $ret;
    }