Auto insert close bracket pairs