Edit deployment.
Remove jump_to_beginning method
If anything is deployed, show warning and change Cancel.
Fix the cancel check and add is_edit method
Cleanup
fixed logic for whether to delete or redirect on cancel

Original logic was backwards.