protected function submitEditDashboard()
    {
        if ($this->isPosted('save')) {
            $this->validateEditDashboard();
            $this->saveDashboard();
        } else if ($this->isPosted('delete') && isset($this->data_dashboard['dashboard_id'])) {
            $this->deleteDashboard();
        }
    }