Apply defaults for submit button to nicely allow overrides, fix attributes cast to array from object