add escape close previewMask