UIDocumentPickerViewController dismisses twice

Hi!

I've found that when presenting a UIDocumentPickerViewController, if you quickly tap twice on a document, both the picker view controller AND its parent view controller gets dismissed. My guess is that the system simply fires off a dismissal twice, closing both views. It's easier to trigger on a simulator than on a real device.

Any way to get around this? I guess it would be possible to monitor dismissals and intercept any undesired ones, but it's not great.