upload image file issue

File input widget will not trigger change event unless we clear the lastest upload status when we operated twice with same resources.