ipython/ipython — pull request #3660 by minrk (2013-07-16 21:51:20+00:00)
Title: refocus active cell on dialog close

if there is one.

Otherwise, the cursor is lost on kernel restart, etc.