Redirect to the same page when deleting or unlocking

Closes #7