Prototype select mode from insert mode