Playing with popup windows and preferred sizes