Setup modal basis.