Added modal alerts and progress display for image loading