Fixing a padding problem.

Fixing a problem:

If the page has a padding-right: 100px; initially for example, after opening and closing a modal dialog, this value will be wiped.