Popup resize made optional

Don't automatically resize the popup