Set up a dismiss block property on detail view controller that is called when done or cancel is pressed. Items view controller creates the block because it has access to the table view.