These are pretty slick too.  Basically the same as Splint's last pic but totally hidden.  You could use them with a chain as Splint suggested or design in such a way that the lid creates its own stop like Splint's box.