* Return selection to editor after closing link editing dialog.
* Updated to latest code.