Fix for MAGN-858: Custom Node name edit dialog needs to click twice to accept the changes.

Reopening the conflicted [pull request](https://github.com/DynamoDS/Dynamo/pull/1502).

http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-858