Added delegates to panel view/dismiss