show sync exception in a modal

@matthewford rebased