handled case where invalid model_id is passed to edit_new