added focusing in newTagDialog