tests on dialog element