> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.scriptation.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I stop the Restore/Delete pop-up from reappearing?

### Moved or renamed a file outside of Scriptation, and now the Restore / Delete pop-up won't stop appearing? Here's how to fix it.

If you moved, renamed, or reorganized a cloud-stored script using Finder, the Files app, or another device, Scriptation may repeatedly show a pop-up asking you to **Restore** or **Delete** every time you open the file. This can happen because Scriptation's locally saved copy no longer matches what your cloud provider (like iCloud) has stored — and the mismatch keeps triggering the alert.

|| 📝 NOTE: For a general overview of what the Restore and Delete options do, see [I got a pop-up when opening a cloud file. Do I tap Restore or Delete?](https://help.scriptation.com/en/article/i-got-a-pop-up-when-opening-a-cloud-file-do-i-tap-restore-or-delete-1cvjv81/)

##### How to fix the loop

1. When the pop-up appears, tap **Keep Current**;
2. Once the file opens, make a small edit (even just adding and removing a mark);
3. Go back to the **File Browser** and navigate to where the file is stored in your cloud folder;
4. Tap the **three-dot menu (⋯)** next to the file name and select **Sync to Cloud**;

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/1/60818aeea8717000/cloudsyncpng_11qcdww.png =800x473)

That should break the loop and get the file back in sync with your cloud provider. Repeat these steps for each file that's giving you the pop-up.

| ✅ TIP: The **Sync to Cloud** option is located in the File Browser's three-dot menu next to the file name — not inside the open document.

##### If that doesn't do the trick

1. **Close and relaunch** Scriptation entirely;
2. **Restart your device** — sometimes iCloud needs a nudge to fully sync the updated file path;
3. [**Make a copy**](https://help.scriptation.com/en/article/how-can-i-make-a-copy-of-a-script-1qbg4kq/) of the file within Scriptation and then delete the old version. This gives Scriptation a clean starting point for that file.

||| If the pop-up keeps coming back after trying all of the above, please contact us and include a [screen recording](https://support.apple.com/guide/ipad/take-a-screenshot-or-screen-recording-ipad08a40f3b/ipados) of the issue. You can upload it through our [Troubleshooting page](https://scriptation.com/troubleshooting/).

##### How to avoid this in the future

To prevent this from happening again, try to move, rename, or reorganize your scripts from **within Scriptation** rather than from Finder, the Files app, or another device. When changes are made inside the app, Scriptation keeps everything in sync automatically.

# What's Next

[I got a pop-up when opening a cloud file. Do I tap Restore or Delete?](https://help.scriptation.com/en/article/i-got-a-pop-up-when-opening-a-cloud-file-do-i-tap-restore-or-delete-1cvjv81/)
[How often do files upload / sync to cloud?](https://help.scriptation.com/en/article/how-often-do-files-upload-sync-to-cloud-6pttkr/)
[My iCloud isn't syncing properly](https://help.scriptation.com/en/article/my-icloud-isnt-syncing-properly-13sz3tq/)


