(A11y severity 1) Preserve keyboard focus on file uploads

When a user selects a file to upload in the "Upload file(s)" modal, the modal changes causing keyboard focus to be lost. Once keyboard focus is lost, the user essentially becomes trapped and cannot navigate at all. Ensure that keyboard focus is set to a logical place within the modal once a file has been selected.