moved post button functionality to the posts.js file to be able to use the original ajax get request data for the current deed inside the popup modal