fix validation on theme/extension upload forms