Fixed deprecation warning
NSSavePanel state saving/loading