Fix iOS popup closing
Merge pull request #83 from Vestorly/fix-ios-closing

Fix ios closing
Better feature detection for < IE11