#1639: Do nothing if the Result var isn't set.

Will be used to prevent the dialog from closing and a crap link inserted if the user hasn't selected anything yet.
Will also prevent links inserted when fields are empty.