Typo fix in FoundationApi exemple

Was ‘‘foundationApi.publish('my-modal', 'open');‘‘ should be ’’FoundationApi.publish('my-modal', 'open');’’
Merge pull request #314 from thylo/patch-1

Typo fix in FoundationApi exemple