Fix modal / dialog not centering. Issue #44