How to open the Insert Link Dialog manually

I am creating a bunch of confluence macros, each has a custom dialog for choosing the macro parameters. I’d really like to use the default “Insert Link” dialog within my own custom macro dialog, is there any way to open it and get the value back to my dialog?