Adds events handlers for closing notification items