Patch fix add charm

Fixes (f6) add unit dialog to properly add charms via the charm plugins.