This action is a GUI front-end to the core's SaveTo action. If you happen to pass a filename then SaveTo is called directly. Else, the user is prompted for a filename to save, and then SaveTo is called with that filename.