Implement edit connection dialog

Close #9