Fix component add/change and delete dialogs

Actually, maybe we shouldn't be showing the flip direction button for bi-directional connections? Happy with handling that later though, it can just do nothing for bi-directional connections for now.