would be nice if can you add a unit test triggering the "contactchange" event, but I don't know if that's easy with the current mock in thread_ui_test.js, we'd need a real mock to do this...

Can you please file another bug for adding a test ? I could have some time to do this in the plane.