disable file upload button when a task is not assigned to the user