It might be good to check if it can be deleted before requiring the password.