Added params for popup size customization