fix: METRO_DIALOG undefined in metro-core.js