Everything deletion

Fixed the deletion problems that were down to the lack of modal window
on some and trying to log deletions once a job's been deleted.