Fixed javascript issue causing some xquery error messages to not be displayed.
Do not ask for changes in a new, temporary editor to be saved.