undo menu disabled when unavailable