resizing of buttons in popup