Fixed dynamic dialog to emit the close event and the css for the tag-info divs.