You need to use JS script that will double the value of your fake URL field and real URL field of the form in the pop-up.
Sure you may use jQuery for it as well.
Try this answer by Richard Dalton: https://stackoverflow.com/questions/5896287/jquery-passing-value-from-one-input-to-another