detecting when a chest is open (and closed)

i couldn't get an advancement for item interact with block, default block use, or any block use to register correctly. so i'm doing something else. but i still want to know what's the convention for detecting interactions with containers? all containers. so that if a player goes to stash something they shouldn't, it can be wiped from inventory or container.

Continue to help post