persist the entity in create mode before going into edit mode