use documentSave instead of plain save, since the former asks the user for a url in case of an invalid URL
BUG: 230597