delete dialog works as stand alone for debug purposes