An accent becomes a dialect when the differences between it and other speakers of the same language begin to include differences in vocabulary and/or grammar. As long as the differences are principally in pronunciation it is an accent, not a dialect.