fix open chooser from history after close