test => closing dialog after it was clicked