Use spinner on edit case page
Fix bug in alert scope causing it to not appear