save-file/gui-error in editor:basic<%>

This method is an alternative to save-file. Rather than showing errors via the original stdout, it opens a dialog with an error message showing the error.