XWIKI-8697: Notification widget should have a callback function that gets called when the notification hides Done.
(cherry picked from commit 56e19e8ffce7634f791399e2f0dbc61afd4cb00c)