populate existing dashboards in menu on 4.0

to avoid user confusion of "missing dashboards in menu".

see also #24564
Merge branch '4.2/migrate-old-dashboards-in-menu'