CMS-3209 Create SaveBeforeCloseDialog tests