When is dental restoration necessary