added delete from server functionality to drag n drop modal