It seems S3 will use its latest current directory to save the newly saved file... That's pretty confusing, as that dir might be in a different project to the current one. Perhaps we should use the active view's dir instead?