if you right click on a container or containers in a pile or coffin/large chest you have a "Close" option, if you hit it the container or containers will disappear from the window, and you have to reopen it to be able to see the container or containers again.