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

TBR: @devoncarew

Fixes #2690 (discussed in detail there).