Pending home sales rise modestly in July