To add modal for form into library management system to insert new book

Hi there i am building Library Management AND i am creating modal to open form when to click on addbook button
But i want to insert these data into Book doctype so i want to fetch all these fields and show when i click on add book button so does anybody tell me how to do that
I want to make like this form

And this is my site