when a Figure is closed using the widget botton, it does not triggers the closing event on jupyterlab