Code:
on *:unload:{
  if (!$input(Are you sure you want to unload $script ?)) {
    .timer 1 0 .reload -rs $shortfn($script)
  }
}

This doesn't load it in the same position though, but like mircmaniac showed, that's possible as well, I just can't be bothered, as this is an example, not final code.