added a clearing of the undo session to fix the mini admin new pagesmith command.