In a bootstrap template based app, I have a popup form opened.
Popup form's element style is set by web core in order to show it as modal popup.
The thing I want to avoid is setting of the form's height to fixed pixels (650px).
I want form's height to be variable based on the contained div's height.
When I manualy unset the height in the console it works fine.
My question is how can I do this in the code?