Thank you all for the nice comments. This is not my design but I did add a magnet in the bottom hole as explained below.
Hi Barbara. On the surface it looks like an impossibility to open with dovetails going in both directions. By when you see how it opens with the dovetail at 45 degrees, it makes it clear how it opens. But it does not slide because there is a steel ball sticking halfway out of it's hole in the top and it hangs there because of a magnet in the bottom of the hole. The bottom has a deeper hole lined up with the top and when you rap it down on a hard surface to dislodge the ball from the top magnet, the ball drops down and sticks to the bottom magnet and you can slide it open . I put a magnet in the bottom hole because if you have something in the round pocket in the box, you would want to open it upside down so it won't fall out. If the magnet were not in the bottom hole, it would lock up as soon as you turned it over.
That is how it works!
Cheers, Jim ........................ Variety is the spice of life...............Learn something new every day