only switch focus when adding newly created doc. not on remote add. fixes #186.