Got Enable/Disable of Undo & Redo buttons working based on availability of actions