use a before action for new survey