enter/exit record mode