pinging @jdfreder: do you know why I end up having to call `focus_cell()` in order to robustly transition to and stay in edit mode now? This wasn't the case before your dual mode fixes branch was merge, just a call to `IPython.notebook.edit_mode()` was sufficient.