dialog window's test works