adding send record dialog