Added loading and flash for sub requests