Modified angular-switch library to use the toggle() function manually, rather than automatically. Now user is asked before disabling or deleting an instance on which another instance depends.