Finder "Save As" dialog shows some folders in expanded view every time
When saving a file the Finder window shows a list of folders in a particular location. My list of folder (and files) always shows some of the folders expanded (as in showing the contents of that folder). It shows the same folders expanded every time - even if I close them. This happens even after a reboot and CTRL+ALT+ESC. It's not a big problem but the expanded folders have a lot of items in them which makes the list quite long. It would be better if they were not in expanded view.
Is there a way to reset this behaviour of the Finder ?
MacBook Pro 15″, macOS 10.13