add modal library sorta working not really, and add script on click