add support for setting default animation preference
add very basic dialog tests