How can I modify the ‘Insert/edit link’ option to offer root-relative urls?

How can I modify the ‘Insert/edit link’ option to offer root-relative urls?