added the modal to the posts