fix bugs with popup addon registration