I'd rather 'refactor' gxp.plugins.MapProperties to create a widget class as well and use that xtype here instead of all this code duplication