add save as wmc button, form and scripting