Check for duplicate download before showing popup

Fixes https://github.com/Tribler/tribler/issues/259.