fixes #704 : fork a notebook with ctrl+enter while renaming

removed extra key compariosons
This looks like a lot of copied and pasted code, btw.  Please don't copy more than a line or two at a time.

Maybe the two enter cases could share some of their code?