Fix ghost dialogs

The root cause was that spark-modal, which extends spark-overlay, wasn't redefining the transition and animation event handlers defined in spark-overlay. It turns out that such handlers are not inherited from the base element. Their lack broke the right open/close lifecycle of spark-modal.

TBR: @terrylucas
CC: @devoncarew