Fix focus accept button on dialog unit test (#10303)
Fix focus accept button on dialog unit test (#10303)

* Fix focus accept button on dialog unit test

* Fix lint error
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab