Add error dialog when opening invalid book