Error message should display if we are trying to upload empty file but New Document side panel is closing screen recording : https://drive.google.com/file/d/1nV0nQdghSPufuW2PIeSM0Gz0GlIryrRW/view?usp=sharing
Fixed: available in next build
looks good.