Update fix to the add edit and drop

Update fix to the add edit and drop.  Fix the issue on saving with
popup window on index.php/ddmanager.php