Made the dialog work properly for workspace groups.

Refs #7441
Merge branch 'feature/7441_use_auto_rect_detectors' into develop