Add original type id (as hidden field) to entity edit forms