Support for closing disputes

cc: @amfeng