Update removeImage function to not delete thumbnail container if user doesn't confirm image deletion.