Added jsdoc for record dialog.