added resize ability to popup