we achieved this by creating the cug container component which basically a wrapper that has a dialog to add cug groups. Inside this other component can be drag and drop.
Make sure you load this using ajax at the run time otherwise you will have caching issues.
Arun Patidar