Update disposed handling and check for disposed status in override.
Update disposed handling and check for disposed status in override.

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab