Set active the undo stack when focusing a widget that has one