Fix missing method invocation on dismissing image detail view controller.