prevent saving of partially loaded notebooks

closes #5363