modified wise-open-view, when the view is empty, then not open new