book details modal is now constructed with js template