fix a dropped selection

in addition, only open the history we're selecting in
fixes #361