The bride's friend Kayley Gunner had to leave the wedding for a moment