Adjust modal fields.