pattern editor save