Added onclose to notif