I'm trying to use the Tear-off menus in my program that is using
motif.
I can get my program to show the Tear-off menu but I can't close it.

Does anyone now what can cause this problem?