this is necessary because sometimes on mobile, a note is closed and cannot be opened again because noteId prop is the same.