[Notification] linux improvement, sent on close event