add_widget and remove_widget do not modify the DOM anymore