Support multi-language; improve panel close event