Fixed new tag dialog and tidied up subscriptions. Added typeahead to search input with tags.