Added Dialog to API delete