layouts and dialog tests