fixed cancel and save buttons to properly segue