Role of strong attractive forces on the dynamics and mechanics of glass and gel forming soft materials