public function edit($modal = "no", $ids = "") {
		if (URequest::isAjax ()) {
			$instance = $this->getModelInstance ( $ids, false );
			$instance->_new = false;
			$this->_edit ( $instance, $modal );
		} else {
			$this->jquery->execAtLast ( "$('._edit[data-ajax={$ids}]').trigger('click');" );
			$this->index ();
		}
	}