Fix error string when editing one node

We were using the error string from the list of nodes, which requires a
variable.
Make the flash an alert, not a notice when saving failed
Merge pull request #929 from vuntz/fix-error

Fix error string when editing one node