fixed issue that the notification window does not close when clicked.

fixed #44