Wired up btns and popups