Numbers opening documents

Is there any way to stop Numbers opening documents in windows going from top to bottom of the screen? I find that extremely irritating. If you resize the window and close the document it reopens in the size when it was closed. M2 Mac mini, Ventura 13.5 and Numbers 13.1.