make dialogs look "marginally" better

by restricting the container padding elimination to a subclass

fixes #478