updates and fixes to duplicate content feature
provide correct original url to popup window
This also fixes the issue when popup window form is submitted and opener table is not refreshed correctly