Fix a bug since merging arrow navigation between buttons in Dialog (#10349) (#10395)
Fix a bug since merging arrow navigation between buttons in Dialog (#10349) (#10395)

* Fix #10394

* Fix linux test
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab