Add new window and tab with same working dir functions