undo button requires valid undo targets to show