added save method to the model form