Added beforeSave() to the ticket model for the data manipulation from controller