Web: added validation for saving