After inserting photos in the form the Next button becomes non responsive