added delete dialog to current window view