HANOI - The leaders of Japan and Vietnam agreed Monday to establish a vice-ministerial-level foreign affairs and defense dialogue framework and work toward defense equipment and technology collaboration as they face China's increasing military presence.