Removed init from export; Fixed uiComponent check
Merge pull request #2257 from Wikia/fluid-modals-destroy

Removed init from modal export; Fixed uiComponent check