Fix: programmatic changes to spark-dialog's `animation` weren't seen in spark-overlay's CSS

TBR

Fixes #2690