Add confirm overwrite dialog.