This adds `m_blockRestorePreviousWindow` to avoid restoring focus to the panel, and replace QHash with QMap to save panel orders. CCBUG: 453166 CCBUG: 352476