Wrong item appears in Documents field when linked

When I click in a “Documents” field to link to an existing Document or create a new document, after selecting an existing Document or entering a New doc name, the wrong name appears in the field. But after refreshing the screen, the field is correct.

Demo video

P.S. I don’t see how to embed a video here.