Prevent saving when textbook is in invalid state