fixed error not hiding delete confimation dialog on cancel deletion