With the original implementation of "connect ports", the mapeditor kept a state of this process. So user could click 'connect InPort', then do a couple of things (e.g. open building editor), then click 'connect OutPort'. Also two assets in different buildings could be connected. We need to find a way to restore this possibility....