destroy connection detail window properly
destroy profile detail window properly