fix dialogue margins