Implement popup manager.