undo now works with inspectors