Fix #547 stop insert mode in quick match action