Fix issue #9. The editor now try to save the value that is being edited when user do 'save' or 'save as...'. If there is a type error, the file saved but with the old value.