Wired up destroy node
Save when hitting enter button in node dialog