Fix a "close All widget" bug

fix #173