change loading modal and clean up css