Bug Involving Com Upgrades

When I go to upgrade my commander, it will randomly switch back to his building tab from his upgrades tab. Not a big deal, but if I am getting an upgrade on the same slot and trying to delete the first one, it will often switch. When it asks me if I want to delete the upgrade, another screen pops up saying "yes" or "no". If it switches here, I'll hit either button and they'll do nothing, plus I can't get rid of the screen, control any units, or do anything. Has anyone else heard of a bug like this?