Add group field to reference dialog

Change-Id: Icf9ea348cd97bdb09ddf18769f53c01ea5a8b7ef
Merge "Add group field to reference dialog"