ThemeMagic: Fix dialog show validate message when enter empty name