Automatically close brackets and quotes