PopUpTemplate doesn't want to work