Add template for load spinner, fix spinner hiding