code: public void setEntitySafe(Entity entity) {
  		if(StringUtils.isEmpty(entity.getName())) {
  			setEntityKey(entity.getKey());
  		}
  		else {
  			setEntity(entity);
  		}
  	}
docs: Reverts to only set the entity key if the name is not defined.
  This ensures an existing entity name is not wiped out when the action is saved.
  @param entity