changed delete popup to dialog