Osng 486

edit multi valued attributes
add confirm and cancel js dialogs
it is easier to read and to have single if values

if(primary != null){
return false;
}

if(display != null){
return false;
} 
...
return true;

display = null is probaly also wrong since it can be ""

better will be

if(!Strings.isNullOrEmpty(display)){
return false;
}