Fixing more minor issues with IE 10 and dialogs.
Merge pull request #51 from Magenic/master

Merging into my fork.
Fixing issues with security when related to submitting an activity.
Merge pull request #205 from jwendl/master

Fixing security issues and merging in changes.