Fix modal / dialog centering.