fixed modal.js onClicks, added modal for new post