Close editors and clear preview when opening a new book