change loading to be a modal