code: public function cancel()
      {
          Controller::curr()->getResponse()->addHeader("X-Pjax", "Content");
          return Controller::curr()->redirect($this->getBackLink());
      }
docs: Goes back to list view
  
  @param array The form data
  @param Form The form object