Dialog windows tests

All from #641.