adjust modal properties