Huh? You're still not checking the value of ```confirmed``` anywhere.. this means its ALWAYS going to delete the post.
Alertify will always call the function. ```confirmed``` is set true if this user clicks 'confirm', false if you user click cancel