OVT-8518: The successful import message shows correctly. The empty alert is no longer shown on reload.
Added inModalController to viewCodes to prevent reloading codes when modal is opened.