added validtion errors to modal