Sometime we get a nice dreams when sleeping, and the other times we get bad dreams. Islam teaches us some adabs (good behaviour) to do when we get bad dream.
Loving the popularity are not Islamic morals. Loving popularity is no difference like loving dignity. Basic human instinct is greedy to wealth and dignity, and those both are damaging.