vertically centered the 'dialogs'. Some cleanup.