You probably don't want will-change here. Especially since the dialog has a display: none;, which mean that the layer should not be created.

It's good that this one has a display: none; because this is not something you use all the time. Which is a different use case than the pages on the homescreen that I changed from display: none to will-change: transform;

If you use will-change too much you will run out of memory :/