Custom menu does not work inside popup

Custom menu does not work inside popup

The context menu does not work when used by a select inserted inside poup.

It could be a problem of z-index?

http://jsfiddle.net/wcuxS/1345/