Fix scope error with angular

Modals and their specific controllers need unique names even if they are on different controllers.