Display modal if no pictures in array for two steps