Panel: Remove stale height value from the modal's inline style

Remove inline height from .ui-panel-dismiss on _closePanel

Not removing the height from .ui-panel-dismiss breaks the layout if the
page height is changed dynamically once the panel has open and closed
once.

Closes gh-7308
Fixes gh-7312