cleanup of frmEditAD