added new interface for popovermanager; Expanded popovermanager to support 3 types of popups