close #50 Center dialogs vertically