dialog should have some space to the borders of the viewport