added event filter to dock to capture drag events on pydgets
simplify drag and drop logic