JS fix
Broke out commits dialog to partial template