Detect popover dismiss
<p>I know I can use <code>popoverPresentationControllerDidDismissPopover</code> but that is only called when the user taps outside the popover view to dismiss it.
When I dismiss the popover manually (<code>self.dismissViewControllerAnimated(true, completion: nil)</code> in the popover's ViewController) nothing happens.</p>