CMS-1023 Refactor BaseDialogWindow to be up to date with new look and feel