Refs #6288; focus editor when cliking on the readability section in order to get the correct score and check if text isn't false when using the advanced dialog in order to avoid js error when there is no text entry