Renamed nameModal to groupModal
Move group modal controller outside of factory

Otherwise, minification will cause problems with mangled parameter
names and dependency injection
Added utils module and imported to group data factory
Move default attributes to open function, instead of controller
Moved confirm modal controller outside of factory
Move default attributes for confirm dialogue to open function
Merge branch 'refactor-modal-dialogues'