CMS-3099 Spinner is not hidden when error on page