added validation for widget title & measures on save