Fix modal centerVertically

Modal dialogs were appearing off the screen because 'top' wasn't being set.