Historical ties to Western Europe , a strong economy , and a stable democracy have assisted in Slovenia 's transformation to a modern state .