Created popup as its own class.