dialog closing
fix