Remove dom layer.