Added JavaScript pop up confirmation for 'delete post' button when viewing a post