Add an ability to pass initial popup width and height as optional parameters