public function detach()
{
/** @var UpdateAction $owner */
$owner = $this->owner;
$owner->controller->off(Controller::EVENT_AFTER_ACTION, [$this, 'handleConflict']);
Event::off(ActiveRecord::className(), ActiveRecord::EVENT_INIT, [$this, 'onActiveRecordInit']);
parent::detach();
}