added last image validation in modal and last 2 extra image sections