Added a shouldDismissOnTapOutside property.

Added a property to specify whether the popover should be dismissed when tapping outside it.
Also fixed a small typo.