Add onblur event so clicking out of note will put it in read mode