make the model be the entity itself, not just its id. make the project edit dialog display the current project name from the entity.