Implement asking for saving of each tab if we close the whole application.