The height of element<div.p-dialog-titlebar> and the width of element<div.p-dialog-content> are big different from their parent element, so they can not fill the parent element<div.p-dialog>.
ex: div.p-dialog is 400x136.94, but div.p-dialog-titlebar is 377x0, div.dialog-content is 364x35.981.