[Matt and I] Updated popupmenu to refresh tabs. Fixed nullpointer when trying to drag subreq off tree