Issue #21006:check status and set to view mode if closed