Versatile method has been developed for synthesis of N-substituted imides. Thus, acid anhydrides, imides and dicarboxylic acids were successfully subjected to dehydrative cyclization with substituted amines using DPPOx and Et(3)N to afford N-substituted imides under mild conditions. The DNA binding and apoptosis induction were investigated with regard to their potential utility as cytotoxic agents. Molecular modeling methods are used to study the cytotoxic activity of the active compounds by means of molecular and quantum mechanics.