Use feature detection instead of version to check for undo support