restore overwrite alert

fixes #532