changed recordDialog and Record

minor changes
xz