TheNewDialog layer is gradientlayer