some _CLOSE_ fixes in modal dialogs in CRM demo