Steps to reproduce:
- Go to Media upload dialog
2.Select an image and click on "Upload"
3.Now in the Details section rename the file name and click on "Save"
4.An error message comes up "Something went wrong, Filename has been changed to "abc.png"
5.Now click on "Try again"
It lets user to upload the image with renamed name, if we are going to allow this we should not show an error message like "something went wrong..."
and If its really something wrong then we should not allow it on clicking "Try again".