Attempt to fix bug that happens after the upload modal is closed and the user attempts to do an upload