In granting variances and modifications to this chapter, the planning commission may require such conditions as will, in its judgment, secure substantially the objectives of the standards or requirements so varied or modified.