Get animations working.

When instantiating Dialogs programatically, need to define the style so the animations will work.