protected function submitEditCollection()
    {
        if ($this->isPosted('delete')) {
            $this->deleteCollection();
        } else if ($this->isPosted('save') && $this->validateEditCollection()) {
            if (isset($this->data_collection['collection_id'])) {
                $this->updateCollection();
            } else {
                $this->addCollection();
            }
        }
    }