Refactored messy torrent dialogs to a proper directive in a lightbox with realtime filtering and search engine selection