Disabled drag and drop when the drop target is opened in a tab.

Signed-off-by: Arica Liu <aricaliu@wpi.edu>