popup messages working