code mirror opens on 'code of' click