#1639: Prepopulate form with url contents if a link is selected when clicking button.