private void makeBackupPageClean() {
// When a new entity is created and inserted into the project, its page is automatically
// opened and flagged as dirty. In this case the backup has already been saved to disk,
// so we need to flag the page as clean.
Editor page = entityPageLocator.findOpenPage(backup);
if (page instanceof GenericEditor) {
((GenericEditor) page).setClean();
}
}