New tag styles

things look better. 
fixes pasting/typing in links problem.
dialogue now exits after you click out. 
some refactoring in HTML to be more 'angular' like