Fixes #17431 LinkDialog not creating links in IE11. I have added code to...

... handle IE >= 9 separately, in order to continue to use execCommand(inserthtml) for browsers other than IE.