* Updates recording dialog. * Update config.js doc. * Adds comment and make a check more intuitive. * Changes of using enum for recording types.