Add loading and dialog tests.