alert("A scope with this value already exists; please enter a different value");
$('#value.control-group').before('<div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">×</button>A scope with this value already exists, please choose a different value.</div>');