simple popup example fix