form validation changes & modal box formatting on gallery page