Fix bug: after creating note, image was not rendered in the popup