add confirmation prompts for save and rename