Due to high humidity in my apartment, we previously used paper towels to close the opening and prevent sugar and salt from becoming a solid block. I wanted the cap to sit tight so I made an outer and inner wall and left another hole in the middle for a little bit of moisture-absorbing material. I am pretty happy with it, even though it is very basic - was one of my first constructions. Maybe someone else can also make use of it.