Autosave functionality for PluginWindow.xib