Modal adapter for bootstrap