Typo fix in FoundationApi exemple

Was `foundationApi.publish('my-modal', 'open');` should be `FoundationApi.publish('my-modal', 'open');`