Add front-end validation for creating new models