Use STATICPOPUPS_NUMDIALOGS for menus in order to avoid tainting.