Fixed TorrentDialog still not working properly. Fixes #179