GUI-1332
re-factored delete dialog