added loading modal