Added the alert for if

Placed an alert with a string to appear if the total pics are greater
than the target