WIP: Popup Support

My work-in-progress branch for popup dialog support in Ionic.