fixed NPE in animation dialog