Only emit layoutModified when the document mode is done changing.
Only emit layoutModified when the document mode is done changing.

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