Document has not been saved yet
Notes sometimes will prompt a dialog box saying that the document is not saved yet.
You should write this formula in Notes R4 using an action button working in edit mode on a document: @command([FileSave]) @Command([FileCloseWindow])
Notes sometimes will prompt a dialog box saying that the document is not saved yet. It will ask whether the user wants to save it. To avoid this, you can do a little fix by just using this formula.
@postedcommand([FileSave]) @Command([FileCloseWindow])