allowed for camera view controller to be dismissed and save photos to camera roll