editor update: ask user before exit