Fixed bug where draggable was being called before testing the correct component property. 

NOTE: with this implementation, drag events will not be fired by the content div, only by the popup container div + arrow + close button. That's coherent with the fix introduced in commit f23a7bb4578ec1e5e492f1c2445b3a78c63c51bf.