Button blocked while no file successfully uploaded