rework Macros dlg