Renamed variables in my DidClose: to be not so generic