Added markup to title dialog

Re-ordered note and citation so note takes precedence when searching for
entity type by tag.