[osx] Create new window if necessary when opening recent file