Fix for saving new tabs