Migrate corpus_upload_modal to take state prop instead of doing another query
Follow up to:
!58959 (comment 550925428)