close modal window after adding a new book