Fixing group edit dialog url state and adding a test.

This addresses #153.