book-dialog working