if (msg == null) {
AttributeManager attributeManager = (AttributeManager) ModelUtil
.getBean(AttributeManager.MANAGER_NAME);
attributeModel.getObject().removeAttributeChoice(
attributeChoice);
attributeManager.saveAttribute(attributeModel.getObject());
objectList.remove(selectedIndex);
noOfObjects--;
} else {
returnValue = handleDeleteCheckObject(window, returnValue,
selectedIndex, attributeChoice, checkObject, msg);