                 }
 
                 out.writeUTFBytes(JSON.stringify(_conf, null, /*space=*/2));
+                updateWindowTitle(false);
             });
         };
         function saveAs (..._) :void {

                    return status.isValid;
            });


            var status :DocStatus = _libraries.selectedItem as DocStatus;
            _win.preview.enabled = status != null && status.isValid;


            else saveConf();
        });

        function updateWindowTitle (modified :Boolean) :void {
            var name :String = (_confFile != null) ? _confFile.name : "Untitled";
            if (modified) name += "*";
            _win.title = name;
        };

        function openConf () :void {
            try {
                _conf = FlumpConf.fromJSON(JSONFormat.readJSON(_confFile));
                var dir :String = _confFile.parent.resolvePath(_conf.importDir).nativePath;
                setImport(new File(dir));
            } catch (e :Error) {
