add modal but need to modify ratchet2.js to ratchet.js