book.rb: with_displayalerts in open