fixed unwanted Macro Dialog bug.