Revert "CONTENT-2046 DAM > Group Not Valid"

This reverts commit 0cf8721eaea37ccec87fa1c0bc2b26214e4a4221.
Revert "CONTENT-2046 DAM > Group Not Valid"

This reverts commit ee3545479704dc98980481e9ca3730213337aab3.
Fix bug DNN-4078: rollback 2 changes in modal popup js, and add ReturnURL on context menu to define the return url.