shift key down enables add edge mode.
shift key up disables the edit mode.
shift key up event works fine until the "Add Edge" dialog box appears.
but once the "Add Edge" dialog box appears, shift key up event doesn't work because the network object becomes out of scope. apparently we're going to dialog box scope.