fixed a bug #89: `presentPopoverAsDialogAnimated:` does not show any popover.
Merge branch 'fix-dialog' into edge