tabs visually work, modes don't, and only open a file if not already open