public function remove($elementOrFieldset) { if ('id' === $elementOrFieldset) { $this->edit = false; } return parent::remove($elementOrFieldset); }