I implemented it by using a Popup control with two states expanded and collapsed and changing the modal property so that when is collapsed it is not modal and when is expanded is modal. Also I added a transition animation.

The only thing I am missing is the "drag" feature...I am sure it can be done but is a bit more complex and probably I will not need this feature.