viewWillDisappear: takes care of endEditing: