The metadata popup window attaches it to next dom element it finds, so this is how it looks in CP:
There are several problems with this approach:
It is hit by jQuery UI's CSS
You can still use the UI in the background
Since it is missing an overlay, It is hard understanding what is the popup, and what is the editor behind it.
Should we instead attach it to one of the ancestor DOM elements available in all editors (eg. the .h5peditor div), and add a semitransparent overlay?
Also, we could consider making the design a little more compact.