Fix closing bug

The collection-window does not close, if the last notification is
closed.