fix broken commit modal.