Remove unnecessary brackets.
Fix wrong changed IE Quirks.
Simplify webkit case.
Removed dialog_ie7.