adjustment for loading modal and alert