Update NewGeneLinkDialog.js

Fixed scoping problem with this in callback.