add errors to selected patient. fix grid layout