ECMS-6533 [Document Preview] Cannot close Preview mode