Fixed bug where text to display in the insert/edit link dialog wouldn't be properly entity encoded.