Popup warning when overwriting component content with new content
In order to avoid accidentally losing work, the editors want a stern warning that must be clicked through when a user is about to upload a new Word doc into a component that already has content. They want this check because
- the stakes are high - potentially losing all the work they've done on a chapter
- uploading new content over old content doesn't happen very frequently
Clicking the "Upload Word" button should trigger the following popup (you could use the delete book warning as a model):
| Warning: Overwriting Content |
| Are you sure you want to permanently delete the current content and upload new content? This action cannot be undone. | | Cancel / OK |