public function cancel() { // Check the table in so it can be edited.... we are done with it anyway $model = KFactory::get('admin::com.duuka.model.item'); $model->checkin(); parent::cancel(); }