This is almost exactly what I have been looking for. The only problem is that I can only insert links manually. I can use the popup to choose a page but the 'insert link' button doesn't do anything.
I was trying to link a moderately long string of text (approx. 30 chars, all letters and spaces, no special characters or punctuation).
I was trying to link to a page. I was able to select the page I wanted, but I pressed the 'insert link' button and nothing happened.
Environment: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:220.127.116.11) Gecko/20091102 Firefox/3.5.5
Also, the 'advanced options' switch on the popup toggles when I press it, but doesn't show/hide any options.
I'd be happy to try to help debug the problem using Firebug if you can tell me what I need to look for. I have noticed that with Firebug running, Firefox tends to lock up for a short time after I hit the 'insert link' button.