The Fight Against ISIS

No one has claimed responsibility for the attack in Nice. But ISIS has committed or inspired similar attacks in recent months. But reports indicate that the battle against ISIS has the group losing ground. It may even be preparing for a time when it no longer controls any territory when it no longer has a caliphate. Is that making the group more dangerous?