You should now be able to chest that, by default, nothing happens when you walk up to the dig spot, but if you check the box for Has Treasure in the dig spot’s Entity panel, it will pop up like normal.
Once everything is confirmed to work, make hasTreasure private, so that we can only change it with code.