This is very helpful, thank you. Let say a duplicate is found, I would like to populate the calling form with those values? Since you cannot 'redirect' back to the calling page and Close would simply close the modal window, how would you fetch the existing fields on the underlying modal?