reset table mode status when input cancel