enable upload button only when image url was entered