add loading state to overlay