Fixed small issue when using Ext.Msg