[workbench] pattern states added to #new, #edit forms