Well, I made some more tests here and discovered this only happens on dialogs marked by mdx.dll