Implemented bootstrap modal when deleting posts