Fix component add/change and delete dialogs

Yip, I agree... I can't remember why I fixed them here. I think I just got carried away.