[TIMOB-17804] Use UIAlertController for iOS8 ActionSheet
[TIMOB-17804] Only disallow modal windows for AlertDialog
[TIMOB-17804] Abort only on alert
[TIMOB-17804] Use UIModalPresentationCurrentContext when presenting in a popover
[TIMOB-17804] Do not dismiss popover if it is presenting a view controller
[TIMOB-17804] If dialogRect is unspecified set sourceRect to centre of view
[TIMOB-17804] Comments around iOS8 workaround
[TIMOB-17804] Reposition the optionDialog correctly
[TIMOB-17804] Cleanup on dismissal
Merge pull request #6193 from vishalduggal/timob-17804-34X

[TIMOB-17804] (3_4_X) iOS8: Refactor OptionDialog