Delete confirmation as popup
Use the hook_form_alter hook, check which form you're on and what the current action is, then remove the node and redirect to where you want to go.

https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_form_alter/7.x

Here's my D8 code, should be fairly similar in D7:

&lt;?php

function my_module_name_form_alter(&amp;$form, $form_state, $form_id)
{
  if ($form_id == 'node_mynodename_delete_form') {
    // write code here to delete the node and redirect
  }
}


This code goes into the .module file.

Replace my_module_name with the name of your own custom module.

Replace mynodename with the machine name of your node.

There are plenty of examples out there on how to programmatically remove a node and redirect.