added a dialog before renaming files